package kr.hyosang.dkbs.kiosk.server;

import java.io.IOException;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import kr.hyosang.dkbs.kiosk.server.data.News;
import kr.hyosang.dkbs.kiosk.server.data.entity.NewsEntity;

@SuppressWarnings("serial")
public class DKBS_Kiosk_serverServlet extends HttpServlet {
	public void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws IOException {
		
		News n = new News();
		NewsEntity e = new NewsEntity();
		e.title = "This is test title";
		e.content = "This is contents.";
		n.addEntity(e);
		
		
		resp.setContentType("text/plain");
		resp.getWriter().println("Hello, world");

	}
}
